﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MVC.Web.UI.Attributes;

namespace MVC.Web.UI.Dialog
{
  
    #region DialogType enums
    public enum DialogType : int
    {
        Default = 1,
        ModalMessage = 2,
        ModalConfirmation = 3,
        ModalForm = 4
    } 
    #endregion

    #region DialogEvents enums

    public enum DialogEvents :  int 
    {
        [StringValue("dialogbeforeclose")]
        BeforeClose = 1,
        [StringValue("dialogclose")]
        AfterClose = 2,
        [StringValue("dialogresizestop")]
        ResizeStop = 3,
        [StringValue("dialogresize")]
        Resize = 4,
        [StringValue("dialogresizestart")]
        ResizeStart = 5,
        [StringValue("dialogdragstop")]
        DragStop = 6,
        [StringValue("dialogdrag")]
        Drag = 7,
        [StringValue("dialogdragstart")]
        DragStart = 8,
        [StringValue("dialogfocus")]
        Focus = 9,
        [StringValue("dialogopen")]
        Open = 10
    } 
    #endregion
}
